package cz.data.domain.system.service;

import cz.data.common.mybatis.BaseService;
import cz.data.domain.system.model.dto.PostDto;
import cz.data.domain.system.model.entity.PostEntity;

import java.util.List;

public interface PostService extends BaseService<PostEntity> {

    PostEntity savePost(PostDto post);

    PostEntity updatePost(PostDto post);

    void deletePostById(String id);

    void deletePostBatch(List<String> ids);
}
